/*---------------------------------------------
	/ Fonts
*/
@font-face {
	font-weight: 300;
	font-style: normal;
	font-family: "Open Sans";
	src: url("../fonts/opensanslight.woff2");
}

@font-face {
	font-weight: 400;
	font-style: normal;
	font-family: "Open Sans";
	src: url("../fonts/opensansnormal.woff2");
}

@font-face {
	font-weight: 600;
	font-style: normal;
	font-family: "Open Sans";
	src: url("../fonts/opensanssemibold.woff2");
}

@font-face {
	font-weight: 700;
	font-style: normal;
	font-family: "Open Sans";
	src: url("../fonts/opensansbold.woff2");
}


@font-face {
	font-weight: 300;
	font-style: normal;
	font-family: "Roboto";
	src: url("../fonts/robotolight.woff2");
}

@font-face {
	font-weight: 400;
	font-style: normal;
	font-family: "Roboto";
	src: url("../fonts/robotonormal.woff2");
}

@font-face {
	font-weight: 500;
	font-style: normal;
	font-family: "Roboto";
	src: url("../fonts/robotomedium.woff2");
}

@font-face {
	font-weight: 700;
	font-style: normal;
	font-family: "Roboto";
	src: url("../fonts/robotobold.woff2");
}

@font-face {
	font-style: normal;
	font-weight: normal;
	font-family: "Entypo";
	src: url("../fonts/entypo.woff2");
}

@font-face {
	font-style: normal;
	font-weight: normal;
	font-family: "Material Icons";
	src: url("../fonts/materialicons.woff2");
}

.m-icon,
[data-m-icon-after]:after,
[data-m-icon-before]:before {
	width: 1em;
	height: 1em;
	direction: ltr;
	line-height: 1;
	font-size: 24px;
	word-wrap: normal;
	font-style: normal;
	text-align: center;
	font-weight: normal;
	white-space: nowrap;
	text-transform: none;
	display: inline-block;
	letter-spacing: normal;
	vertical-align: middle;
	font-family: "Material Icons";
	font-feature-settings: "liga";
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

[data-m-icon-after]:after,
[data-m-icon-before]:before {
	height: auto;
	line-height: inherit;
}

[data-m-icon-after]:after {
	content: attr(data-m-icon-after);
}

[data-m-icon-before]:before {
	content: attr(data-m-icon-before);
}






/*---------------------------------------------
	/ Globals
*/
﻿html, body {
	overflow-x: hidden;
}

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	background-size: cover;
	background-color: #EEE;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
	-webkit-font-smoothing: antialiased;

	/* Disable selection since it gives iChrome a more app-like feel and users should never end up copying text. */
	cursor: default;
	-moz-user-select: none;
	-webkit-user-select: none;
}

body.dark {
	color: #EEE;
	background-color: #303030;
}

body.dark.transparent {
	color: #FFF;
}

body.widget-maximized {
	overflow: hidden;
}

.bg-video {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	position: fixed;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

:not(select)::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

:not(select)::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .2);
}

:not(select)::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, .5);
}

:not(select)::-webkit-scrollbar-thumb:active {
	background: rgba(0, 0, 0, .3);
}

body::-webkit-scrollbar-track {
	background-color: rgba(255, 255, 255, .6);
}

h1, h2, h3 {
	margin: 0;
}

a {
	cursor: pointer;
}

span.nested-link[data-href] {
	color: #428BCA;
}

span.nested-link[data-href]:hover,
span.nested-link[data-href]:focus {
	color: #2A6496;
	cursor: pointer;
	text-decoration: underline;
}

.dark a:hover,
.dark a:focus,
.dark span.nested-link[data-href]:hover,
.dark span.nested-link[data-href]:focus {
	color: #2196F3;
}

iframe[seamless] {
	border: 0; /* This fixes the Chrome 33 - 34 loss of support for seamless iframes */
}








/*---------------------------------------------
	/ Background info
*/
.bg-info {
	z-index: 2;
	color: #FFF;
	right: 10px;
	bottom: 10px;
	position: fixed;
	cursor: pointer;
}

.bg-info .icon {
	text-shadow: 0 0 3px rgba(0, 0, 0, .5);
}

.bg-info .panel {
	right: 0;
	bottom: 0;
	outline: 0;
	width: 400px;
	color: #212121;
	cursor: default;
	background: #FFF;
	position: absolute;
	border-radius: 2px;
	font-family: Roboto, sans-serif;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2),
				0 1px 1px 0 rgba(0, 0, 0, .14),
				0 2px 1px -1px rgba(0, 0, 0, .12);
}

.dark .bg-info .panel {
	color: #EEE;
	background: #333;
}

.bg-info .panel:before {
	content: "";
	position: absolute;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4));
	top: 0;
	left: 0;
	right: 0;
	height: 45px;
}

.bg-info button.toggle.close {
	top: 5px;
	margin: 0;
	right: 5px;
	z-index: 1;
	opacity: 0;
	color: #FFF;
	position: absolute;
}

.bg-info:hover button.toggle.close {
	opacity: 1;
}

.bg-info button.toggle.close svg {
	opacity: .9;
}

.bg-info .preview {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-color: #EEE;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
}

.dark .bg-info .preview {
	background-color: #222;
}

.bg-info .image-info {
	padding: 10px 15px;
}

.bg-info .name {
	font: inherit;
	font-size: 16px;
}

.bg-info .subheader {
	color: #666;
	font-size: 12px;
	line-height: 20px;
}

.dark .bg-info .subheader {
	color: #CCC;
}

.bg-info p.desc {
	margin: 5px 0 0;
	font-size: 13px;
}

.bg-info .footer {
	height: 32px;
	text-align: right;
	margin: 10px -5px 0;
}

.bg-info .footer .theme {
	margin-top: 8px;
}

.bg-info .footer button.material.flat {
	float: left;
	padding: 0 8px;
	min-width: 60px;
	margin: 0 8px 0 0;
}







/*---------------------------------------------
	/ Forms
*/
input[type="tel"],
input[type="url"],
input[type="text"],
input[type="time"],
input[type="date"],
input[type="email"],
input[type="search"],
input[type="number"],
select,
textarea {
	outline: 0;
	width: 55%;
	color: #444;
	font-size: 14px;
	border-radius: 4px;
	box-shadow: none!important;
	padding: 5px 6px 5px 12px!important;
	border: 1px solid rgba(0, 0, 0, 0.1)!important;

	.dark & {
		color: #DDD;
		border-color: rgba(255, 255, 255, .15)!important;
	}

	.dark.transparent & {
		color: #FFF;
	}

	.widget & {
		background: transparent;
	}

	&:hover {
		color: #333;
		border-color: rgba(0, 0, 0, 0.2)!important;

		.dark & {
			border-color: rgba(255, 255, 255, 0.075)!important;
		}
	}

	&:focus,
	.dark &:focus {
		color: #333;
		border-color: rgba(53, 141, 211, 0.75)!important;
	}

	.dark &:hover,
	.dark &:focus {
		color: #EEE;
	}
}

.dark select option,
.dark select optgroup {
	background: #424242;
}

input[type="time"]::-webkit-clear-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button,
input[type="date"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	display: none;
}

input[readonly]::-webkit-datetime-edit-ampm-field:focus,
input[readonly]::-webkit-datetime-edit-hour-field:focus,
input[readonly]::-webkit-datetime-edit-minute-field:focus {
	color: inherit;
	background-color: inherit;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 1;
	overflow: hidden;
	color: transparent;
	position: relative;
	margin-left: -1.3em;
	margin-right: 0.3em;
}

input[type="date"]::-webkit-calendar-picker-indicator:before {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: #333;
	line-height: 1;
	content: "\e6ce";
	position: absolute;
	font-family: Entypo;
}

.dark input[type="date"]::-webkit-calendar-picker-indicator:before {
	color: #AAA;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
	background: none;
}

form:not(.form-horizontal) .color label {
	display: block;
}





/*---------------------------------------------
	/ Bootstrap Button Overrides
*/
.btn {
	font-size: 14px;
	font-weight: 300;
	border-radius: 2px;
	outline: 0!important;
	border: 1px rgba(0, 0, 0, 0);
	font-family: Open Sans, sans-serif;
}

.btn-primary {
	background: #5BA4E5;
}

.btn-primary:hover,
.btn-primary:active {
	background: #2F8CDE;
}

.btn-primary:active {
	box-shadow: rgba(0, 0, 0, .3) 0 1px 3px inset;
}







/*---------------------------------------------
	/ Material Buttons
*/
button.material {
	border: 0;
	outline: 0;
	margin: 0 8px;
	padding: 0 16px;
	cursor: pointer;
	min-width: 80px;
	font-size: 13px;
	background: #EEE;
	font-weight: 500;
	line-height: 32px;
	border-radius: 2px;
	text-align: center;
	text-transform: uppercase;
	font-family: Roboto, sans-serif;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

button.material:hover,
button.material:focus,
button.material:active {
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

button.material:active {
	background: #E0E0E0;
}

button.material.m-icon {
	font-size: 24px;
	font-weight: 400;
	line-height: 24px;
	text-transform: none;
	font-family: Material Icons;
}

button.material.large {
	padding: 0 20px;
	font-size: 14px;
	line-height: 42px;
}

button.material[disabled],
button.material.red[disabled],
button.material.blue[disabled],
button.material.green[disabled],
button.material.orange[disabled],
button.material.toggle[disabled],
button.material.flat.red[disabled],
button.material.flat.blue[disabled],
button.material.flat.green[disabled],
button.material.flat.orange[disabled],

button.material.disabled,
button.material.red.disabled,
button.material.blue.disabled,
button.material.green.disabled,
button.material.orange.disabled,
button.material.toggle.disabled,
button.material.flat.red.disabled,
button.material.flat.blue.disabled,
button.material.flat.green.disabled,
button.material.flat.orange.disabled {
	cursor: default;
	box-shadow: none;
	color: rgba(0, 0, 0, .5);
}

.dark button.material[disabled],
.dark button.material.red[disabled],
.dark button.material.blue[disabled],
.dark button.material.green[disabled],
.dark button.material.orange[disabled],
.dark button.material.toggle[disabled],
.dark button.material.flat.red[disabled],
.dark button.material.flat.blue[disabled],
.dark button.material.flat.green[disabled],
.dark button.material.flat.orange[disabled],

.dark button.material.disabled,
.dark button.material.red.disabled,
.dark button.material.blue.disabled,
.dark button.material.green.disabled,
.dark button.material.orange.disabled,
.dark button.material.toggle.disabled,
.dark button.material.flat.red.disabled,
.dark button.material.flat.blue.disabled,
.dark button.material.flat.green.disabled,
.dark button.material.flat.orange.disabled {
	color: rgba(255, 255, 255, .5);
}

button.material svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}







/*---------------------------------------------
	/ Material Buttons / Floating Action Button
*/
button.material.fab {
	width: 40px;
	height: 40px;
	padding: 8px;
	min-width: initial;
	border-radius: 50%;
}

button.material.fab[disabled] {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12),
				0 1px 2px rgba(0, 0, 0, .24);
}







/*---------------------------------------------
	/ Material Buttons / Colors
*/
button.material.red,
button.material.blue,
button.material.green,
button.material.orange {
	color: #FFF;
}

button.material.red				{ background: #F44336; }
button.material.red:active		{ background: #E53935; }

button.material.blue			{ background: #2196F3; }
button.material.blue:active		{ background: #1E88E5; }

button.material.green			{ background: #4CAF50; }
button.material.green:active	{ background: #43A047; }

button.material.orange			{ background: #FF9800; }
button.material.orange:active	{ background: #FB8C00; }







/*---------------------------------------------
	/ Material Buttons / Flat
*/
button.material.flat {
	background: none;
	box-shadow: none;
	border-radius: 0;
	line-height: 32px;
}

button.material.flat:hover,
button.material.flat:focus {
	background: rgba(0, 0, 0, 0.075);
}

button.material.flat:active {
	background: rgba(0, 0, 0, 0.15);
}

button.material.flat.red	{ color: #F44336; }
button.material.flat.blue	{ color: #2196F3; }
button.material.flat.green	{ color: #4CAF50; }
button.material.flat.orange	{ color: #FF9800; }








/*---------------------------------------------
	/ Material Buttons / Icon Toggle
*/
button.material.toggle {
	width: 36px;
	color: #000;
	height: 36px;
	padding: 6px;
	margin: 0 4px;
	box-shadow: none;
	position: relative;
	min-width: initial;
	border-radius: 50%;
	background: transparent;
	transition: all .2s ease;
}

.dark button.material.toggle {
	color: #FFF;
}

button.material.toggle svg {
	opacity: .7;
}

button.material.toggle:after,
button.material.toggle:before {
	position: absolute;
	border-radius: 50%;
	background: currentColor;
	transition: opacity .2s ease;
}

button.material.toggle:before {
	top: 50%;
	width: 0;
	left: 50%;
	height: 0;
	content: "";
	opacity: 0.1;
	border-radius: 50%;
	transform: translateX(-50%) translateY(-50%);
}

button.material.toggle:active:before {
	width: 100%;
	height: 100%;
	opacity: .05;
	transition: width .2s ease, height .2s ease;
}

button.material.toggle:hover:after,
button.material.toggle:focus:after {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	opacity: .05;
}







/*---------------------------------------------
	/ Material Form styles
*/
.material-form {
	padding: 8px 0;
}

.material-form .input {
	margin: 0;
	display: block;
	font-weight: 400;
	padding: 10px 16px;
}

.material-form .input span {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 3px;
}

.material-form select,
.material-form textarea
.material-form input[type="tel"],
.material-form input[type="text"],
.material-form input[type="time"],
.material-form input[type="date"],
.material-form input[type="email"],
.material-form input[type="search"],
.material-form input[type="number"] {
	width: 100%;
	font-size: 13px;
	border-radius: 0;
	padding: 5px 10px!important;
	border-width: 0 0 1px!important;
}

.material-form fieldset {
	margin-top: 8px;
}

.material-form legend {
	border: 0;
	margin: 0;
	color: #2196F3;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 16px 0;
	border-top: 1px solid #EEE;
}

.dark .material-form legend {
	border-top-color: rgba(255, 255, 255, .15);
}

.material-form legend .help {
	color: #666;
	float: right;
	font-size: 12px;
	font-weight: 400;
}

.dark .material-form legend .help {
	color: #999;
}

.material-form fieldset > .help {
	font-size: 12px;
	margin: 10px 16px;
}






/*---------------------------------------------
	/ Forms / Checkbox and Radio Styles
*/
input[type="radio"],
input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	background: #F5F5F5;
	-moz-appearance: none;
	-webkit-appearance: none;
	vertical-align: text-bottom;
	box-shadow: inset 0 0 0 1px #DDD;
}

.dark input[type="radio"]:not(:active):not(:checked),
.dark input[type="checkbox"]:not(:active):not(:checked) {
	background: #2A2A2A;
	box-shadow: inset 0 0 0 1px #666;
}

.dark.transparent input[type="radio"]:not(:active):not(:checked),
.dark.transparent input[type="checkbox"]:not(:active):not(:checked) {
	background: rgba(0, 0, 0, .2);
}

input[type="checkbox"] {
	margin-right: 5px;
	border-radius: 2px;
	position: relative;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:after {
	top: 4px;
	left: 3px;
	width: 10px;
	height: 6px;
	position: absolute;
	border: 3px solid #FFF;
	border-width: 0 0 3px 3px;
	transform: rotate(-45deg);
}

input[type="checkbox"]:checked:after {
	content: "";
}
input[type="radio"]:active,
input[type="checkbox"]:active,
input[type="checkbox"]:checked {
	box-shadow: none;
	background: #1ABC9C;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: 0;
}

input[type="radio"]:checked {
	background: #FFF;
	box-shadow: inset 0 0 0 4px #1ABC9C;
}










/*---------------------------------------------
	/ Snackbar
*/
.snackbar {
	left: 24px;
	color: #FFF;
	bottom: 24px;
	display: flex;
	z-index: 999999;
	cursor: pointer;
	position: fixed;
	font-size: 14px;
	min-width: 288px;
	max-width: 568px;
	line-height: 20px;
	padding: 14px 24px;
	border-radius: 2px;
	letter-spacing: .2px;
	background-color: #323232;
	font-family: Roboto, sans-serif;
	box-shadow: 0 0 2px rgba(0, 0, 0, .12),
				0 2px 4px rgba(0, 0, 0, .24);
}

.dark .snackbar {
	background: #424242;
}

.snackbar button.material.flat {
	float: right;
	padding: 0 12px;
	min-width: initial;
	margin: -6px -12px -6px 36px;
}

.snackbar .text {
	flex: 1;
	min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
}







/*---------------------------------------------
	/ Sync sign in snackbar
*/
.snackbar.sync-signin {
	left: 50%;
	bottom: 0;
	width: 650px;
	cursor: default;
	max-width: initial;
	transform: translateX(-50%);

	button.material.flat {
		color: #EEE;
		margin-left: 12px;

		&.signin {
			color: #66BB6A;
		}
	}
}










/*---------------------------------------------
	/ Alert Dialog Style
*/
dialog {
	border: 0;
	width: auto;
	overflow: hidden;
	max-width: 370px;
	padding: 24px 0 0;
	border-radius: 3px;
	background: #FAFAFA;
	transform: scale(1);
	font: 400 14px/20px Roboto, sans-serif;
	box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24);
}

.dark dialog {
	background: #424242;
}

dialog:not([open]) {
	transform: scale(0.9);
}

dialog:not([open]),
dialog:not([open])::backdrop {
	opacity: 0;
	display: initial;
	visibility: hidden;
	transition: visibility 0s .3s linear,
				transform .3s cubic-bezier(.4, 0, .2, 1),
				opacity .25s .05s cubic-bezier(.4, 0, .2, 1);
}

dialog::backdrop {
	background: rgba(0, 0, 0, .2);
}

dialog, dialog::backdrop {
	opacity: 1;
	visibility: visible;
	transition: visibility 0s 0s linear,
				opacity .3s cubic-bezier(.4, 0, .2, 1),
				transform .15s .05s cubic-bezier(.4, 0, .2, 1);
}

dialog.no-transition,
dialog.no-transition::backdrop {
	transition: none;
}

dialog h2 {
	margin: 0;
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	padding: 0 24px 20px;
}

.dark dialog h2 {
	color: #FFF;
}

dialog .content {
	color: #757575;
	line-height: 1.6;
	padding: 0 24px 24px;
}

.dark dialog .content {
	color: #CCC;
}

dialog .content p:last-child {
	margin: 0;
}

dialog footer {
	text-align: right;
	padding: 0 4px 12px;
}

dialog footer button.material.flat {
	padding: 0 8px;
	margin-left: 0;
	min-width: 64px;
	font-size: 14px;
	line-height: 36px;
}

.dark dialog footer button.flat {
	color: #FFF;
}

dialog footer button.material.flat:hover:not(:focus) {
	background: rgba(0, 0, 0, .05);
}

dialog footer button.material.flat:active {
	background: rgba(0, 0, 0, .075);
}







/*---------------------------------------------
	/ Updated modal
*/
.updated {
	&.modal-overlay {
		cursor: default;
		background: rgba(0, 0, 0, .3);
	}

	&.modal {
		width: 800px;
		height: 600px;
		max-height: 100%;
		overflow: visible;
		border-radius: 6px;
		font-family: Roboto, sans-serif;
		box-shadow: 0 4px 32px rgba(0, 0, 0, .4);

		.nav {
			button,
			button:active {
				top: 50%;
				z-index: 1;
				width: 48px;
				left: -110px;
				height: 48px;
				color: #4285F4;
				margin-top: -24px;
				position: absolute;
				background: #FAFAFA;
				box-shadow: 0 4px 32px rgba(0, 0, 0, .4);
			}

			button:hover {
				background: #F3F3F3;
			}

			button.next {
				left: auto;
				right: -110px;

				&:before {
					content: "arrow_forward";
				}

				&.finish:before {
					content: "done";
				}
			}
		}

		&[data-slide="1"] .nav button.prev {
			transform: scale(0);
		}

		.slide {
			z-index: 0;
			opacity: 0;
			width: 100%;
			height: 100%;
			color: #757575;
			background: #FFF;
			position: absolute;
			text-align: center;
			border-radius: 6px;
			transition: opacity .4s $fast-in;

			&.active {
				z-index: 1;
				opacity: 1;
			}

			&.intro {
				padding-top: 140px;

				img {
					height: 150px;
					margin-bottom: 40px;
				}

				.header {
					font-size: 45px;
					margin-bottom: 30px;
				}

				.subheader {
					font-size: 22px;
				}
			}

			&.pro {
				color: #FFF;
				background: #4285F4;

				p {
					font-size: 18px;
					margin-top: 30px;
					line-height: 28px;
				}
			}

			&.sign-in {
				.pending, .complete {
					top: 0;
					left: 0;
					right: 0;
					bottom: 0;
					opacity: 0;
					display: flex;
					flex-flow: column;
					position: absolute;
					transition: opacity .4s $fast-in;

					&.visible {
						z-index: 1;
						opacity: 1;
					}
				}

				.pending {
					align-items: flex-end;

					.btn-container {
						flex: 1 0;
						width: 100%;
						min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
						display: flex;
						background: #ECECEC;
						align-items: center;
						justify-content: center;
						border-bottom-left-radius: 6px;
						border-bottom-right-radius: 6px;
					}
				}

				.complete {
					font-size: 18px;
					justify-content: center;

					h2 {
						font-size: 30px;
					}
				}
			}

			&.other {
				display: flex;
				flex-flow: column;
				align-items: flex-end;

				.caption p {
					text-align: left;
					margin-bottom: 10px;
				}

				.footer {
					flex: 1 0;
					width: 100%;
					min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
					display: flex;
					font-size: 36px;
					background: #ECECEC;
					align-items: center;
					justify-content: center;
					border-bottom-left-radius: 6px;
					border-bottom-right-radius: 6px;
				}
			}

			h2 {
				font-size: 24px;
				font-weight: 400;
				margin-bottom: 20px;
				font-family: inherit;
			}

			.hero {
				height: 390px;
				background-size: 100%;
				background-color: #ECECEC;
				border-top-left-radius: 6px;
				border-top-right-radius: 6px;
				background-repeat: no-repeat;
				background-position: bottom center;
			}

			.caption {
				font-size: 15px;
				line-height: 24px;
				padding: 32px 80px;

				p {
					margin-bottom: 25px;
				}

				p:last-child {
					margin-bottom: 0;
				}
			}

			.footer.note {
				left: 0;
				right: 0;
				bottom: 20px;
				position: absolute;
			}
		}
	}
}







/*---------------------------------------------
	/ Tooltip Styles
*/
.tooltip {
	top: 0;
	left: 0;
	opacity: 0;
	color: #666;
	overflow: auto;
	font-size: 12px;
	z-index: 9999999;
	max-width: 360px;
	background: #FFF;
	text-align: left;
	line-height: 18px;
	padding: 10px 15px;
	position: absolute;
	visibility: hidden;
	word-break: break-word;
	border-top: 1px solid #F5F5F5;
	font-family: Roboto, sans-serif;
	border-bottom: 2px solid #689BEC;
	box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
	transition: visibility 0s .3s, opacity .3s 0s;
}

.dark .tooltip {
	color: #CCC;
	background: #333;
	border-bottom-color: #2196F3;
	border-top-color: rgba(0, 0, 0, .1);
	box-shadow: 0 2px 2px rgba(255, 255, 255, .1);
}

.tooltip.visible {
	opacity: 1;
	visibility: visible;
	transition: visibility 0s 0s, opacity .3s 0s;
}






/*---------------------------------------------
	/ Toolbar
*/
header.toolbar {
	width: 100%;
	height: 50px;
	font-size: 0;
	display: flex;
	background: #FFF;
	position: relative;

	.dark & {
		background: #303030;
	}

	.transparent.dark & {
		background: rgba(0, 0, 0, .15);
	}

	.transparent.darker & {
		background: rgba(0, 0, 0, .6);
	}

	> div {
		vertical-align: top;
		display: inline-block;
	}

	.logo,
	.search {
		border-right: 1px solid rgba(0, 0, 0, .075);
	}

	.dark & .logo,
	.dark & .search {
		border-right-color: rgba(255, 255, 255, .1);
	}

	.logo {
		height: 100%;
		flex: 0 0 140px;
		background: url(/images/logo.svg) center/100px no-repeat;
	}

	.dark & .logo {
		background-image: url(/images/logo_light.svg);
	}

	.links {
		height: 100%;
		flex: 1 0 auto;
		text-align: right;
		padding: 18px 10px;
	}

	.links a {
		margin: 0 15px;
		font-size: 14px;
		line-height: 15px;
		display: inline-block;
	}

	.dark & .links a {
		color: #CCC;
	}

	.links a:hover {
		color: #444;
		text-decoration: none;
		border-bottom: 1px dotted;
	}

	.dark & .links a:hover {
		color: #BBB;
	}

	.menu-toggle {
		flex: 0 0 56px;
		cursor: pointer;
		padding: 7px 10px;
	}

	.menu-toggle .img {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background-size: 100%;
		background-image: url(../images/profile.png);
	}

	.menu-toggle .img:hover {
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
	}

	.menu-toggle .img:active {
		box-shadow: inset 0 36px rgba(0, 0, 0, 0.1),
					inset 0 2px 0 rgba(0, 0, 0, 0.15);
	}







	/*---------------------------------------------
		/ Toolbar / Apps Menu
	*/
	.apps-toggle {
		flex: 0 0 45px;
		cursor: pointer;
		padding: 14px 12px;
	}

	.apps-toggle svg {
		width: 21px;
		height: 21px;
	}

	.apps-toggle:hover svg {
		opacity: .8;
	}

	.apps-toggle:active svg {
		opacity: 1;
	}

	.apps-toggle .collapse {
		right: 0;
		top: 100%;
		height: 0;
		width: 320px;
		z-index: 9999;
		overflow: hidden;
		position: absolute;
		box-shadow: 0 2px 3px -1px rgba(0, 0, 0, .3);
		transition: height .5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	}

	.apps-toggle .collapse:before {
		top: 0;
		left: 0;
		right: 0;
		z-index: 9;
		content: "";
		height: 10px;
		position: absolute;
		box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, .075);
	}

	.apps-toggle.active .collapse {
		height: 395px;
	}

	.apps-toggle .apps {
		left: 0;
		right: 0;
		bottom: 0;
		height: 395px;
		cursor: default;
		font-size: 13px;
		background: #FFF;
		line-height: 25px;
		position: absolute;
		text-align: center;
		font-family: Roboto, sans-serif;
	}

	.dark & .apps-toggle .apps {
		background: #383838;
	}

	.apps .items {
		height: 315px;
		display: flex;
		margin: 20px 30px;
		flex-flow: row wrap;
		justify-content: space-between;
	}

	.apps .items a {
		width: 30%;
		color: inherit;
		padding: 8px 0;
		font-size: 13px;
		text-align: center;
	}

	.apps .items a:hover {
		text-decoration: none;
	}

	.apps img {
		height: 64px;
		display: inline-block;
	}

	.apps span {
		display: block;
	}

	.apps .more {
		color: #666;
		display: block;
		font-weight: 500;
		line-height: 40px;
		background: #F5F5F5;
		text-transform: uppercase;
	}

	.dark & .apps .more {
		color: #FFF;
		background: rgba(255, 255, 255, .06);
	}

	.apps .more:hover {
		background: #F0F0F0;
	}

	.apps .more:active {
		background: #E6E6E6;
	}






	/*---------------------------------------------
		/ Toolbar / Search
	*/
	.search {
		height: 100%;
		flex: 0 1 700px;
		position: relative;
	}

	.dark & .search {
		border-right-color: rgba(255, 255, 255, .1);
	}

	.search input {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		font-size: 15px;
		border-radius: 0;
		line-height: 20px;
		position: absolute;
		border: 0!important;
		background: inherit;
		font-family: Open sans, sans-serif;
		padding: 15px 55px 15px 30px!important;
	}

	.search input:focus {
		background: #FBFBFB;
	}

	.dark & .search input:focus {
		background: #3A3A3A;
	}

	.dark.transparent & .search input:focus {
		background: rgba(0, 0, 0, .15);
	}

	.search .suggestions {
		left: 0;
		right: 0;
		top: 100%;
		z-index: 2;
		opacity: 0;
		cursor: pointer;
		font-size: 14px;
		background: #FFF;
		position: absolute;
		visibility: hidden;
		transform: translateY(-10px);
		box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.3);
		transition: opacity .3s ease-in-out,
					transform .3s ease-in-out,
					visibility 0s .3s;
	}

	.dark & .search .suggestions {
		color: #EEE;
		background: #383838;
	}

	.search .suggestions.visible {
		opacity: 1;
		visibility: visible;
		transform: translateY(0px);
		transition: opacity .3s ease-in-out,
					transform .3s ease-in-out,
					visibility 0s 0s;
	}

	.search .suggestions:before {
		top: 0;
		left: 0;
		right: 0;
		content: "";
		height: 13px;
		position: absolute;
		pointer-events: none;
		box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, .075);
	}

	.search .suggestions div {
		padding: 0 16px;
		overflow: hidden;
		line-height: 32px;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-family: Roboto, sans-serif;
		border-left: 4px solid transparent;
	}

	.search .suggestions div:hover,
	.search .suggestions div.active {
		background: #F5F5F5;
		border-left-color: #888;
	}

	.dark & .search .suggestions div:hover,
	.dark & .search .suggestions div.active {
		background: #303030;
	}

	.search .suggestions div.active {
		border-left-color: #738FFE;
	}

	.search .speech {
		top: 0;
		right: 0;
		z-index: 9;
		width: 15px;
		opacity: .6;
		height: 20px;
		cursor: pointer;
		margin: 15px 25px;
		position: absolute;
		background: no-repeat center;
		background-size: auto 100%;
		background-image: url();
	}

	.dark & .search .speech {
		opacity: .7;
		// mathew: wrap filters in #{ } so that they aren't handled as SASS functions.
		-webkit-filter: #{"invert()"};
	}

	.search .speech:hover {
		opacity: .8;
	}







	/*---------------------------------------------
		/ Toolbar / Announcements
	*/
	.announcements {
		flex: 0 0 45px;
		cursor: pointer;
		padding: 14px 12px;
	}

	.announcements:after {
		color: #FFF;
		width: 21px;
		height: 21px;
		display: block;
		font-size: 12px;
		font-weight: 700;
		line-height: 21px;
		text-align: center;
		border-radius: 50%;
		background: #F44336;
		content: attr(data-count);
		font-family: Roboto, sans-serif;
	}






	/*---------------------------------------------
		/ Toolbar / Responsive Styles

		These let it be responsive down to 320px with very little work, why not?
	*/
	@media (max-width: 800px) {
		// These are duplicated in the menu so they can be hidden
		.links {
			display: none;
		}
	}

	@media (max-width: 500px) {
		.logo {
			display: none;
		}
	}
}








/*---------------------------------------------
	/ Announcements
*/
dialog.announcements {
	max-width: 450px;
}

dialog.announcements .content {
	color: #212121;
}

.dark dialog.announcements .content {
	color: #EEE;
}

dialog.announcements section {
	margin: 15px 0;
}

dialog.announcements section:last-child {
	margin-bottom: 0;
}

dialog.announcements h3 {
	font: inherit;
	font-weight: 500;
	padding-bottom: 10px;
}

dialog.announcements ul {
	margin: 0;
	padding-left: 30px;
}

dialog.announcements li {
	padding-bottom: 5px;
}







/*---------------------------------------------
	/ Menu Button
*/
.menu-toggle .menu-button {
	top: 8px;
	right: 8px;
	z-index: 9;
	outline: 0;
	color: #FFF;
	width: 50px;
	height: 50px;
	cursor: pointer;
	position: absolute;
	border-radius: 50%;
	background-color: #B2B2B2;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
	transition: box-shadow .2s cubic-bezier(.4, 0, .2, 1), background-color .2s ease-in-out;
}

.dark .menu-toggle .menu-button {
	color: #CCC;
	background: #333;
}

.transparent.dark .menu-toggle .menu-button {
	background: rgba(0, 0, 0, .4);
}

.menu-toggle .menu-button:before {
	top: 12px;
	left: 17px;
	content: "";
	width: 16px;
	height: 2px;
	position: absolute;
	box-shadow: 0 6px, 0 12px, 0 18px;
}

.menu-toggle .menu-button:hover {
	background-color: #D23F31;
}

.dark .menu-toggle .menu-button:hover {
	background: #444;
}

.transparent.dark .menu-toggle .menu-button:hover {
	background: rgba(0, 0, 0, .6);
}

.menu-toggle .menu-button:active {
	background-color: #E84E40;
}

.menu-toggle .announcements {
	top: 42px;
	right: 42px;
	color: #FFF;
	z-index: 10;
	width: 21px;
	height: 21px;
	display: block;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	line-height: 21px;
	position: absolute;
	text-align: center;
	border-radius: 50%;
	background: #F44336;
	font-family: Roboto, sans-serif;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}






/*---------------------------------------------
	/ Main Menu
*/
.menu-container {
	top: 0;
	width: 0;
	right: 0;
	display: flex;
	z-index: 9999;
	overflow: hidden;
	background: #FFF;
	max-height: 100vh;
	position: absolute;
	will-change: width;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
	transition: width .3s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.dark .menu-container {
	background: #383838;
}

.toolbar .menu-container {
	top: 100%;
	max-height: calc(100vh - 100%);
	box-shadow: 0 2px 3px -1px rgba(0, 0, 0, .3),
				inset 0 1px 3px rgba(0, 0, 0, .075);
}

.menu {
	color: #646464;
	padding: 5px 0;
	overflow: auto;
	flex-shrink: 0;
	font-size: 15px;
	font-family: Roboto, sans-serif;
}

.dark .menu {
	color: #EEE;
}

.menu,
.menu-container.visible {
	width: 215px;
}

.menu:lang(uk),
.menu:lang(nl),
.menu:lang(es),
.menu:lang(pl),
.menu-container.visible:lang(uk),
.menu-container.visible:lang(nl),
.menu-container.visible:lang(es),
.menu-container.visible:lang(pl) {
	width: 230px;
}

.menu:lang(ru),
.menu:lang(sr),
.menu-container.visible:lang(ru),
.menu-container.visible:lang(sr) {
	width: 265px;
}

.menu [data-item] {
	color: inherit;
	display: block;
	cursor: pointer;
	padding: 0 16px;
	line-height: 44px;
	text-decoration: none;
	border-left: 4px solid transparent;
	transition: .2s cubic-bezier(.4, 0, .2, 1);
	transition-property: border, background-color;
}

.menu [data-item]:hover,
.menu [data-item].active {
	background-color: #F5F5F5;
	border-left-color: #646464;
}

.dark .menu [data-item]:hover,
.dark .menu [data-item].active {
	background: #303030;
}

.menu [data-item].active {
	border-left-color: #53A93F;
}

.menu [data-item] svg {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: text-bottom;
}

.dark .menu [data-item="settings"] svg path,
.dark .menu [data-item="editmode"] svg path {
	fill: #B5B5B5;
}

.menu [data-item] .state {
	float: right;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

.menu [data-item] .state.enabled {
	color: #4DC830;
}

.menu .separator {
	margin: 8px 0;
	border-top: 1px solid #E5E5E5;
}

.dark .menu .separator {
	border-top-color: #555;
}

.menu .section h2 {
	font-size: 13px;
	font-weight: 500;
	line-height: 28px;
	padding: 0 16px 8px;
	font-family: inherit;
	text-transform: uppercase;
}

.menu .section [data-item] {
	line-height: 32px;
	padding-left: 24px;
}

.menu .tabs .add {
	float: right;
	cursor: pointer;
	font-size: 25px;
	font-weight: 600;
	font-family: Open Sans, sans-serif;
}

.menu .footer {
	color: #AAA;
	font-size: 11px;
	line-height: 18px;
	padding: 15px 0 8px 15px;
}

.menu .footer:lang(ja) {
	font-size: 10px;
}

.menu .footer .separator {
	margin-left: -15px;
}

.menu .footer a {
	color: #AAA;
}

.menu .footer a:hover,
.menu .footer a:focus {
	color: #427FED;
	text-decoration: none;
}

.menu .footer .social-buttons {
	margin: 0 5px 8px;
}

.menu .footer .social-buttons a {
	width: 22px;
	margin-right: 15px;
	display: inline-block;
}

.menu .footer a[rel="license"] {
	float: right;
	padding-right: 15px;
}







/*---------------------------------------------
	/ Voice Bar
*/
.voicebar {
	top: 0;
	opacity: 0;
	width: 100%;
	font-size: 0;
	height: 160px;
	position: fixed;
	background: #FFF;
	z-index: 99999999;
	visibility: hidden;
	line-height: 160px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	transition: opacity .3s 0s ease-in-out, visibility 0s .3s linear;
}

.dark .voicebar {
	background: #424242;
}

.voicebar.visible {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s 0s ease-in-out, visibility 0s 0s linear;
}

.voicebar .text {
	width: 40%;
	color: #666;
	height: 100%;
	font-size: 24px;
	font-weight: 600;
	min-width: 500px;
	overflow: hidden;
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
	display: inline-block;
	padding: 0 100px 0 30px;
	text-overflow: ellipsis;
	font-family: Open Sans, sans-serif;
}

.dark .voicebar .text {
	color: #EEE;
}

.voicebar .text a {
	font-size: 14px;
	font-weight: 400;
	margin-left: 10px;
	font-family: sans-serif;
}

.voicebar .button {
	width: 60%;
	height: 100%;
	min-width: 100px;
	vertical-align: top;
	display: inline-block;
}

.voicebar button {
	outline: 0;
	color: #FFF;
	width: 100px;
	height: 100px;
	font-size: 40px;
	line-height: 20px;
	background: #E23C3C;
	border-radius: 100%;
	vertical-align: middle;
	transition: all .2s ease-in-out;
	border: 1px solid rgba(0, 0, 0, .1);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	box-shadow: 0 0 0 15px #E5E5E5, 0 0 1px 16px rgba(0, 0, 0, .2), inset 0 0 1px 1px rgba(255, 255, 255, .3);
}

.voicebar button svg {
	fill: #FFF;
	transition: all .2s ease-in-out;
}

.voicebar button:hover {
	background: #DA3737;
}

.voicebar button:hover svg {
	fill: #DFDFDF;
}

.voicebar button:active {
	background: #C23030;
	box-shadow: 0 0 0 15px #E5E5E5, 0 0 1px 16px rgba(0, 0, 0, .2), inset 0 0 1px 1px rgba(0, 0, 0, .2);
}

.voicebar button:active svg {
	fill: rgba(0, 0, 0, .5);
}

.voicebar .close {
	top: 5px;
	right: 5px;
	color: #444;
	cursor: pointer;
	font-size: 20px;
	line-height: 16px;
	position: absolute;
	font-family: Entypo;
}

.voicebar .close:hover {
	color: #428BCA;
}






/*---------------------------------------------
	/ Tabs Layout
*/
.tab-container {
	flex: 1;
	z-index: 1;
	outline: 0;
	width: 100%;
	min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
	display: flex;
	overflow: hidden;
	position: relative;
	flex-direction: row;
}

.widget-maximized .tab-container {
	z-index: 9;
	overflow: visible;
}

.tab-container .tab {
	top: 0;
	flex: 1;
	height: 0;
	left: 100%;
	opacity: 0;
	min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
	min-width: 100%;
	overflow: hidden;
	position: absolute;
	background: none!important;
	transition: opacity .3s ease-in-out;
}

.tab-container.no-transition .tab {
	transition: none;
}

.tab-container .tab.active {
	left: 0;
	opacity: 1;
	height: auto;
	position: relative;
}








/*---------------------------------------------
	/ Tabs Layout / Remove Bar
*/
.tab-container .tab > .remove {
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	z-index: 9;
	color: #FFF;
	height: 70px;
	cursor: pointer;
	position: fixed;
	font-size: 20px;
	line-height: 70px;
	text-align: center;
	visibility: hidden;
	background: #E96364;
	transition: opacity .3s 0 ease-in-out, visibility 0s .3s linear;
}

body.dragging .tab-container .tab > .remove {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s 0 ease-in-out, visibility 0s 0s linear;
}

.tab-container .tab > .remove:after {
	font-size: 20px;
	content: "\e6A1";
	margin-left: 10px;
	font-family: Entypo;
}

.tab-container .tab > .remove * {
	display: none;
}







/*---------------------------------------------
	/ Tabs Layout / Nav
*/
.tab-container.one-tab .tab-nav {
	display: none;
}

.tab-nav button,
.tab-nav button:active {
	top: 50%;
	left: 10px;
	opacity: 0;
	z-index: 1;
	position: fixed;
	margin-top: -20px;
	background: #FAFAFA;
}

.dark .tab-nav button,
.dark .tab-nav button:active {
	color: #EEE;
	background: #303030;
}

.tab-container:hover .tab-nav button {
	opacity: .9;
}

.dragging .tab-nav button,
.tab-container .tab-nav button:hover,
.tab-container .tab-nav button:focus {
	opacity: 1;
}

.dragging .tab-container {
	z-index: initial;
}

.dragging .tab-nav button {
	z-index: 999999;
}

.tab-nav button.prev {
	/* Offset the arrow 2px to the left */
	padding-left: 6px;
}

.tab-nav button.next {
	left: auto;
	right: 10px;
}






/*---------------------------------------------
	/ Widgets Layout
*/
.widgets-container {
	display: flex;
	flex-flow: row wrap;
	margin: 45px 5% 40px;

	/**
	 * This ensures the container always has some droppable space, otherwise it would collapse and
	 * might end up completely underneath the remove bar making it impossible to add widgets to the tab.
	 *
	 * The 150px accounts for margins and the toolbar, if it's shown
	 */
	min-height: calc(100vh - 150px);
}

.widgets-container.fixed {
	margin: 45px auto 40px;
	justify-content: center;
}

.widgets-container .column {
	flex: 1;
	min-width: 0; // crbug.com/546034 fix - flex issues in Chrome 48+
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	align-content: flex-start;
}

.widgets-container.fixed .column {
	min-width: 410px;
	max-width: 410px;
}


/* Used to allow multi-tab dragging with overflow: hidden; */
body > .widgets-container {
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	margin: 0;
	min-height: 0;
	display: block;
	z-index: 9999999;
	position: absolute;
	pointer-events: none; /* Allows widgets to be over the next/prev buttons and still trigger hover handlers */
}






/*---------------------------------------------
	/ Widgets Layout / Grid Layout
*/
.grid .widgets-container {
	margin: 0;
	display: block;
	position: relative;
}

.grid .widgets-container > .widget {
	margin: 0;
	width: 400px;
	min-width: 0;
	position: absolute;
	max-width: 100%!important;

	&.maximized {
		width: auto;
	}
}

.grid .widgets-container > .widget:not(.maximized):hover {
	z-index: 2;
}

.widget > .resize {
	display: none;
	pointer-events: none;
}

.grid .widget > .resize {
	z-index: 9;
	opacity: 0;
	right: 2px;
	width: 7px;
	bottom: 2px;
	height: 7px;
	display: block;
	position: absolute;
	cursor: nwse-resize;
	pointer-events: initial;
	transition: opacity .3s ease-in-out;
	background: url("");
}

.grid .widget:hover > .resize {
	opacity: 1;
}

.grid .widgets-container .placeholder {
	margin: 0;
	visibility: hidden;
}

body.dragging .grid,
body.resizing .grid {
	background-size: 10px 10px!important;
	background-position: -1px -1px!important;
	background-image: linear-gradient(rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px)!important;
}





/*---------------------------------------------
	/ Widgets Layout / Widgets
*/
.widgets-container .widget,
.store-detail .preview .widget {
	z-index: 1;
	flex: 2 100%;
	color: #212121;
	margin: 10px 2%;
	overflow: hidden;
	min-height: 50px;
	background: #FFF;
	border-radius: 2px;
	position: relative;
	font-family: Roboto, sans-serif;
	animation: widget-box-shadow 0s 2s forwards;
	-webkit-animation: widget-box-shadow 0s 2s forwards;
}

.widgets-container .widget > .content,
.store-detail .preview .widget > .content {
	height: 100%;
}

.widgets-container .widget.legacy,
.store-detail .preview .widget.legacy {
	color: #333;
	padding: 15px;
	font-family: inherit;
}

.dark .widget-preview .widget,
.dark .widgets-container .widget,
.dark .store-detail > .content > section.preview > .widget {
	color: #EEE;
	background: #333;
}

/*
 * Transparent styles don't override the preview because it's
 * almost impossible to read on a solid background
 */
.transparent.dark .widget-preview .widget,
.transparent.dark .widgets-container .widget {
	color: #FFF;
	background: rgba(0, 0, 0, .3);
}

.transparent.darker .widget-preview .widget,
.transparent.darker .widgets-container .widget {
	background: rgba(0, 0, 0, .6);
}

@keyframes widget-box-shadow {
	from { box-shadow: none; }
	to { box-shadow: 0 2px 1px rgba(102, 102, 102, 0.1); }
}

@-webkit-keyframes widget-box-shadow {
	from { box-shadow: none; }
	to { box-shadow: 0 2px 1px rgba(102, 102, 102, 0.1); }
}

.widgets-container .widget.maximized {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	z-index: 9;
	position: fixed;
	overflow-y: auto;
	border-radius: 0;
	transform: translateZ(0);
	box-shadow: 0 19px 38px rgba(0, 0, 0, .30),
				0 15px 12px rgba(0, 0, 0, .22);
	animation-timing-function: cubic-bezier(.4, 0, .2, 1);
	animation: maximize-shadow .3s, maximize .6s .1s forwards;
}

.widgets-container .widget.transition-out {
	animation-timing-function: cubic-bezier(.4, 0, .2, 1);
	animation: unmaximize .6s forwards, unmaximize-shadow .3s .5s forwards;
}

/* These animations need to be duplicated so they can be done completely in CSS */
@keyframes maximize-shadow {
	from { box-shadow: 0 2px 1px rgba(102, 102, 102, .1); }
	to { box-shadow: 0 19px 38px rgba(0, 0, 0, .30), 0 15px 12px rgba(0, 0, 0, .22); }
}

@keyframes unmaximize-shadow {
	from { box-shadow: 0 19px 38px rgba(0, 0, 0, .30), 0 15px 12px rgba(0, 0, 0, .22); }
	to { box-shadow: 0 2px 1px rgba(102, 102, 102, .1); }
}

@keyframes maximize {
	to {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
}

@keyframes unmaximize {
	from {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
}

.widgets-container .widget.tiny,
.store-detail .preview .widget.tiny {
	flex: 1 46%;
	max-width: 46%;
}

.widgets-container .widget .handle,
.widgets-container .widget .settings,
.widgets-container .widget .minimize,
.widgets-container .widget .maximize,
.store-detail .preview .widget .handle,
.store-detail .preview .widget .settings,
.store-detail .preview .widget .minimize,
.store-detail .preview .widget .maximize {
	opacity: 0;
	z-index: 9;
	position: absolute;
	transition: opacity .3s ease-in-out;
}

.widgets-container .widget .minimize,
.widgets-container .widget .maximize,
.store-detail .preview .widget .minimize,
.store-detail .preview .widget .maximize  {
	top: 5px;
	fill: #666;
	right: 24px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.dark .widgets-container .widget .minimize,
.dark .widgets-container .widget .maximize,
.dark .store-detail .preview .widget .minimize,
.dark .store-detail .preview .widget .maximize {
	fill: #CCC;
}

.widgets-container .widget .handle,
.store-detail .preview .widget .handle {
	top: 15px;
	right: 8px;
	width: 4px;
	height: 4px;
	cursor: move;
	background: #666;
	border-radius: 1px;
	box-shadow: 0 0 3px rgba(255, 255, 255, 0.8),
				0 6px #666, 0 -6px #666,
				0 6px 3px rgba(255, 255, 255, 0.8),
				0 -6px 3px rgba(255, 255, 255, 0.8);
}

.dark .widgets-container .widget .handle,
.dark .store-detail .preview .widget .handle {
	background: #DDD;
	box-shadow: 0 6px #DDD, 0 -6px #DDD;
}

.widgets-container .widget.maximized .handle {
	display: none;
}

.widgets-container .widget,
.store-detail .preview .widget {
	&:hover,
	&.hovered {
		.handle,
		.settings,
		.minimize,
		.maximize {
			opacity: 1;
		}
	}
}

.widgets-container .widget .handle:before,
.widgets-container .widget .settings:before,
.store-detail .preview .widget .handle:before,
.store-detail .preview .widget .settings:before {
	top: -15px;
	left: -15px;
	right: -10px;
	content: "";
	bottom: -11px;
	position: absolute;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0);
}

.widgets-container .widget .settings,
.store-detail .preview .widget .settings {
	top: 30px;
	right: 5px;
	color: #666;
	cursor: pointer;
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.dark .widgets-container .widget .settings,
.dark .store-detail .preview .widget .settings {
	color: #DDD;
	text-shadow: none;
}

.widgets-container .widget.maximized .settings {
	top: 5px;
}

.widgets-container .widget .settings:before,
.store-detail .preview .widget .settings:before {
	top: -1px;
	left: -6px;
	bottom: -5px;
}

.widgets-container .widget .settings:hover,
.store-detail .preview .widget .settings:hover {
	color: #428BCA;
}

body.no-edit .widgets-container .widget .handle,
body.no-edit .widgets-container .widget .settings,
body.no-edit .widgets-container .widget.tabbed:before {
	display: none;
}





/*---------------------------------------------
	/ Widgets Layout / Tabbed Widgets
*/
.widgets-container .widget.tabbed {
	z-index: 2;
	overflow: visible;
}

.widgets-container .widget.tabbed:before {
	top: 0;
	left: 100%;
	z-index: 9;
	opacity: 0;
	content: "";
	width: 22px;
	height: 50px;
	position: absolute;
	background: inherit;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	transition: opacity .3s ease-in-out;
	box-shadow: 1px 2px 1px rgba(102, 102, 102, .1);
}

.widgets-container .widget.tabbed.maximized:before {
	left: calc(100% - 22px);
	border-radius: 0 0 0 3px;
}

.widgets-container .widget.tabbed:hover:before {
	opacity: 1;
}

.widgets-container .widget.tabbed .maximize,
.widgets-container .widget.tabbed .maximize {
	top: 50px;
	right: -22px;
	background: inherit;
	box-shadow: 1px 2px 1px rgba(102, 102, 102, .1);
}

.widgets-container .widget.tabbed .handle {
	right: -12px;
}

.widgets-container .widget.tabbed .handle:before {
	left: -8px;
}

.widgets-container .widget.tabbed .settings {
	right: -18px;
	box-shadow: none;
	background: transparent;
}

.widgets-container .widget.tabbed.maximized .settings {
	right: 2px;
}

.widgets-container .widget.tabbed .minimize {
	top: 25px;
	right: -1px;
}






/*---------------------------------------------
	/ Widgets Layout / Transitions
*/
.unloaded .widgets-container .widget {
	transform-origin: top center;
	animation: fly-in-from-bottom .2s ease-in-out both;
	-webkit-animation: fly-in-from-bottom .2s ease-in-out both;
}

.unloaded .widgets-container .column:first-child .widget {
	transform-origin: top left;
	animation-name: fly-in-from-left;
	-webkit-animation-name: fly-in-from-left;
}

.unloaded .widgets-container .column:last-child .widget {
	transform-origin: top right;
	animation-name: fly-in-from-right;
	-webkit-animation-name: fly-in-from-right;
}

@keyframes fly-in-from-left {
	from {
		opacity: 0;
		transform: translateY(100px) rotate(15deg);
	}
}

@keyframes fly-in-from-bottom {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
}

@keyframes fly-in-from-right {
	from {
		opacity: 0;
		transform: translateY(100px) rotate(-15deg);
	}
}

@-webkit-keyframes fly-in-from-left {
	from {
		opacity: 0;
		transform: translateY(100px) rotate(15deg);
	}
}

@-webkit-keyframes fly-in-from-bottom {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
}

@-webkit-keyframes fly-in-from-right {
	from {
		opacity: 0;
		transform: translateY(100px) rotate(-15deg);
	}
}





/*---------------------------------------------
	/ Widgets Layout / Drag Styles
*/
.widgets-container .dragged {
	margin: 0;
	opacity: .95;
	z-index: 99999;
	position: absolute;
}

.widgets-container .dragged iframe {
	pointer-events: none;
}

.widgets-container .placeholder {
	flex: 2 100%;
	margin: 10px;
	min-width: 45%;
	min-height: 30px;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, .2);
	background: rgba(255, 255, 255, .2);
}

.widgets-container .placeholder.tiny {
	flex: 1 45%;
	max-width: 45%;
}

.dragging {
	cursor: move;
}







/*---------------------------------------------
	/ Widgets / Splashes
*/
.widget.splash,
.widget.legacy.splash {
	padding: 0!important;
}

.grid .widget.splash {
	height: auto!important;
}

.widget.splash .splash {
	color: #FFF;
	padding: 50px 0;
	background: #888;
	text-align: center;
}

.widget.splash .splash svg {
	width: 150px;
	height: 150px;
	fill: currentColor;
}

.widget.splash .notice {
	padding: 0;
	background: #FBFBFB;
	font: 400 14px/20px Roboto, sans-serif;
}

.dark .widget.splash .notice {
	background: #333;
}

.dark.transparent .widget.splash .notice {
	background: rgba(0, 0, 0, .2);
}

.widget.splash h2 {
	margin: 0;
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	padding: 24px 16px 0;
}

.widget.splash p {
	margin: 0;
	color: #757575;
	line-height: 1.6;
	padding: 16px 16px 0;
}

.dark .widget.splash p {
	color: #CCC;
}

.widget.splash.tiny p:last-of-type {
	padding-bottom: 16px;
}

.widget.splash footer {
	padding: 8px;
	text-align: right;
}

.widget.splash footer button.material.flat {
	margin: 0;
	padding: 0 8px;
	min-width: 64px;
	font-size: 14px;
	line-height: 36px;
}

.widget.splash footer button.material.flat:hover:not(:focus) {
	background: rgba(0, 0, 0, .05);
}

.widget.splash footer button.material.flat:active {
	background: rgba(0, 0, 0, .075);
}







/*---------------------------------------------
	/ Widget / Splashes / Tiny styles
*/
.widget.splash.tiny .splash {
	padding: 20px 0;
}

.widget.splash.tiny .splash svg {
	width: 100px;
	height: 100px;
}

.widget.splash.tiny h2 {
	display: none;
}

.widget.splash.tiny footer {
	text-align: left;
	padding: 8px 10px;
}

.widget.splash.tiny p:last-of-type {
	padding-bottom: 0;
}







/*---------------------------------------------
	/ Widgets / Permissions Splash
*/
.widget.permissions-request .splash {
	background: #20AA58;
}

.dark.transparent .widget.permissions-request .splash {
	background: rgba(32, 170, 88, 0.4);
}

.widget.permissions-request.tiny h2 {
	display: none;
}







/*---------------------------------------------
	/ Widgets / Error Splash
*/
.widget.error .splash {
	background: #F44336;
}

.dark.transparent .widget.error .splash {
	background: rgba(244, 67, 54, 0.4);
}

.dark .widget.error button.support {
	color: #DDD;
}

.widget.error.tiny .splash {
	display: none;
}







/*---------------------------------------------
	/ Widget / Authorization
*/
.widget.auth-required,
.widget.legacy.auth-required {
	padding: 0!important;
}

.grid .widget.auth-required {
	height: auto!important;
}

.widget.auth-required .notice {
	color: #888;
	text-align: center;
	background: #F2F2F2;
	padding-bottom: 55px;
}

.dark .widget.auth-required .notice {
	color: #AAA;
	background: #2A2A2A;
}

.dark.transparent .widget.auth-required .notice {
	color: #DDD;
	background: rgba(0, 0, 0, .2);
}

.widget.auth-required .notice svg {
	width: 150px;
	height: 150px;
	fill: currentColor;
}

.widget.auth-required .notice p {
	padding: 0 35px;
	line-height: 22px;
	margin: 20px 0 15px;
}

.widget.auth-required .notice button {
	margin-top: 10px;
}

.widget.auth-required .notice h2 {
	padding: 15px;
	font-size: 16px;
	text-align: left;
	font-family: Open Sans, sans-serif;
}







/*---------------------------------------------
	/ Widget / Authorization / Tiny Styles
*/
.widget.auth-required.tiny .notice {
	padding-bottom: 20px;
}

.widget.auth-required.tiny .notice svg {
	display: none;
}

.widget.auth-required.tiny .notice p {
	margin: 10px 0;
	padding: 0 15px;
}







/*---------------------------------------------
	/ Widget Settings
*/
.widget-settings .close {
	display: none; /* The save button replaces this, you can close by clicking the BG or hitting esc. */
}

.widget-settings .content {
	background: #FBFBFB;
}

.widget-settings h2.title {
	background: #FFF;
}

.widget-settings .btn.save {
	float: right;
	margin-top: -6px; /* Not a magic number, this is (32px button height - 20px line-height) / 2. */
	margin-right: -10px;
}

.widget-settings form {
	overflow: auto;
	padding: 20px 25px;
	height: calc(100% - 60px);
}

.widget-settings .form-group.hidden {
	display: none;
}

.widget-settings .form-group:last-child {
	margin-bottom: 0;
}

.widget-settings .form-group > label {
	width: 98%;
	display: block;
}

.widget-settings .form-group.pro > label:after {
	color: #FB8C00;
	padding: 0 3px;
	content: "Pro";
	font-size: 11px;
	margin-left: 5px;
	line-height: 15px;
	border-radius: 2px;
	display: inline-block;
	text-transform: uppercase;
	border: 1px solid currentColor;
	font-family: Roboto, sans-serif;
}

.widget-settings .help {
	color: #777;
	float: right;
	cursor: help;
	margin-left: 5px;
	display: inline-block;
}

.widget-settings .help:hover {
	color: #3C7EC2;
}

.widget-settings .help:before {
	font-size: 14px;
}

.widget-settings select,
.widget-settings textarea,
.widget-settings input[type="tel"],
.widget-settings input[type="text"],
.widget-settings input[type="time"],
.widget-settings input[type="email"],
.widget-settings input[type="search"],
.widget-settings input[type="number"] {
	width: 100%;
}

.widget-settings input[type="radio"]:not(:active),
.widget-settings input[type="checkbox"]:not(:active):not(:checked) {
	background: #FFF;
}

.widget-settings select[size],
.widget-settings select[multiple] {
	padding: 10px!important;
}





/*---------------------------------------------
	/ Widget Settings / List Input
*/
.widget-settings .list > div,
.widget-settings .list > div > input {
	border-radius: 0;
	position: relative;
}

.widget-settings .list .item {
	height: 35px;
	position: relative;
	font-family: Open Sans, sans-serif;
}

.widget-settings .list .item input {
	left: 0;
	right: 0;
	top: -1px;
	bottom: 0;
	z-index: 0;
	border-radius: 0;
	position: absolute;
}

.widget-settings .list input:hover {
	z-index: 1;
}

.widget-settings .list input:focus {
	z-index: 2;
}

.widget-settings .list .tools {
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	opacity: 0;
	color: #555;
	font-size: 20px;
	line-height: 15px;
	position: absolute;
	font-family: Entypo;
	padding: 10px 10px 10px 0;
}

.widget-settings .list .item:hover .tools,
.widget-settings .list .item input:focus + .tools {
	opacity: 1;
}

.widget-settings .list .tools span:hover {
	color: #428BCA;
	cursor: pointer;
}

.widget-settings .list .tools .delete:hover {
	color: #E43431;
}

.widget-settings .list .sp-preview {
	height: 34px;
}

.widget-settings .list .sp-replacer + input {
	left: 35px;
	width: calc(100% - 35px);
}

.widget-settings .list .suggestions {
	top: 32px;
	left: 1px;
	right: 1px;
	z-index: 2;
	opacity: 0;
	padding: 0;
	cursor: pointer;
	font-size: 13px;
	background: #FFF;
	position: absolute;
	visibility: hidden;
	font-family: Roboto, sans-serif;
	box-shadow: 0 2px 3px -1px rgba(0, 0, 0, .3);
	transition: opacity .2s ease, visibility 0s .2s;
}

.widget-settings .list .suggestions.visible {
	opacity: 1;
	visibility: visible;
	transition: opacity .2s ease, visibility 0s 0s;
}

.widget-settings .list .suggestions li {
	padding: 0 12px;
	overflow: hidden;
	line-height: 30px;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-left: 4px solid transparent;
}

.widget-settings .list .suggestions li:hover,
.widget-settings .list .suggestions li.active {
	background: #F5F5F5;
	border-left-color: #888;
}

.dark .widget-settings .list .suggestions li:hover,
.dark .widget-settings .list .suggestions li.active {
	background: #303030;
}

.widget-settings .list .suggestions li.active {
	border-left-color: #738FFE;
}







/*---------------------------------------------
	/ Modal Styles
*/
.modal {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	outline: 0;
	color: #333;
	margin: auto;
	z-index: 9999;
	position: fixed;
	overflow: hidden;
	background: #FFF;
	max-width: 1000px;
	max-height: 600px;
	visibility: hidden;
	border-radius: 2px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	transform: translateY(-50px) translateZ(0);

	/* For some reason manually setting transform and opacity transitions instead of `all` seems to fix popping-in issues. */
	transition: transform .3s ease-in-out, opacity .3s ease-in-out, visibility 0s .3s;
}

.modal:not(.visible) * {
	display: none;
}

.modal.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) translateZ(0);
	transition: transform .3s ease-in-out, opacity .3s ease-in-out, visibility 0s 0s; /* See above */
}

.modal > .title,
.modal > .content > .title {
	font-size: 20px;
	line-height: 20px;
	padding: 25px 30px;
	border-bottom: 1px solid #EEE;
	font-family: Open Sans, sans-serif;
}

.modal > .content {
	height: 100%;
}

.modal > .close {
	top: 0;
	right: 0;
	z-index: 9;
	width: 70px;
	height: 70px;
	color: #404040;
	cursor: pointer;
	line-height: 70px;
	text-align: center;
	position: absolute;
	-webkit-text-stroke: 2px #FFF;
}

.modal > .close:hover {
	color: #666;
	background: #EEE;
	-webkit-text-stroke: 2px #EEE;
}

.modal > .close:before {
	font-size: 35px;
	content: "\E678";
	font-family: Entypo;
}







/*---------------------------------------------
	/ Modal Styles / Dark Overrides

	Modals are light, even when the dark theme is enabled
*/
.dark .modal:not(.store-detail) input[type="tel"],
.dark .modal:not(.store-detail) input[type="text"],
.dark .modal:not(.store-detail) input[type="time"],
.dark .modal:not(.store-detail) input[type="date"],
.dark .modal:not(.store-detail) input[type="email"],
.dark .modal:not(.store-detail) input[type="search"],
.dark .modal:not(.store-detail) input[type="number"],
.dark .modal:not(.store-detail) select,
.dark .modal:not(.store-detail) textarea {
	color: #444;
	border-color: rgba(0, 0, 0, 0.1)!important;
}

.dark .modal:not(.store-detail) select option,
.dark .modal:not(.store-detail) select optgroup {
	background: #FFF;
}

.dark .modal:not(.store-detail) input[type="tel"]:hover,
.dark .modal:not(.store-detail) input[type="text"]:hover,
.dark .modal:not(.store-detail) input[type="time"]:hover,
.dark .modal:not(.store-detail) input[type="date"]:hover,
.dark .modal:not(.store-detail) input[type="email"]:hover,
.dark .modal:not(.store-detail) input[type="search"]:hover,
.dark .modal:not(.store-detail) input[type="number"]:hover,
.dark .modal:not(.store-detail) select:hover,
.dark .modal:not(.store-detail) textarea:hover,

.dark .modal:not(.store-detail) input[type="tel"]:focus,
.dark .modal:not(.store-detail) input[type="text"]:focus,
.dark .modal:not(.store-detail) input[type="time"]:focus,
.dark .modal:not(.store-detail) input[type="date"]:focus,
.dark .modal:not(.store-detail) input[type="email"]:focus,
.dark .modal:not(.store-detail) input[type="search"]:focus,
.dark .modal:not(.store-detail) input[type="number"]:focus,
.dark .modal:not(.store-detail) select:focus,
.dark .modal:not(.store-detail) textarea:focus {
	color: #333;
}

.dark .modal:not(.store-detail) input[type="radio"]:not(:active):not(:checked),
.dark .modal:not(.store-detail) input[type="checkbox"]:not(:active):not(:checked) {
	background: #F5F5F5;
	box-shadow: inset 0 0 0 1px #DDD;
}







/*---------------------------------------------
	/ Modal Styles / Small
*/
.modal.small > .title,
.modal.small .content > .title {
	font-size: 18px;
	padding: 20px 25px;
}

.modal.small > .close {
	width: 60px;
	height: 60px;
	line-height: 60px;
}

.modal.small > .close:before {
	font-size: 30px;
}






/*---------------------------------------------
	/ Overlays
*/
.modal-overlay,
.speech-overlay,
.preview-overlay {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	outline: 0;
	z-index: 9999;
	cursor: pointer;
	position: fixed;
	visibility: hidden;
	transition: visibility 0s .3s, opacity .3s ease-in-out;
}

.modal-overlay,
.speech-overlay {
	background: rgba(255, 255, 255, .4);
}

.modal-overlay.visible,
.speech-overlay.visible,
.preview-overlay.visible {
	opacity: 1;
	visibility: visible;
	transition: visibility 0s 0s, opacity .3s ease-in-out;
}






/*---------------------------------------------
	/ Widget Store
*/
.modal.store {
	overflow: visible; /* This fixes the 1px white gap above the close button caused by subpixel rounding in the automatic modal centering. */
	max-width: 1200px;
	max-height: 700px;
}

.store .wrapper {
	height: 100%;
}

.store .wrapper > .title {
	height: 70px;
	font-size: 20px;
	padding: 25px 30px;
	border-bottom: 1px solid #EEE;
	font-family: Open Sans, sans-serif;
	box-shadow: 0 4px 3px -2px rgba(0, 0, 0, .05);
}

.store .content,
.store .title {
	position: relative;
}

.store .content {
	overflow: auto;
	padding: 10px 15px;
	background: #F5F5F5;
	height: calc(100% - 70px);
}

.store .content:before {
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	z-index: 99;
	content: "";
	position: absolute;
	background: #F5F5F5;
}

.store .content .widget {
	margin: 5px;
	cursor: pointer;
	overflow: hidden;
	background: #FFF;
	position: relative;
	border-radius: 3px;
	display: inline-block;
	width: calc((100% / 4) - 13.33px);
	box-shadow: 0 1px 2px rgba(102, 102, 102, 0.1);
}

.store .content .widget:hover {
	background: #FCFCFC;
}

.store .content .widget img {
	width: 80px;
	float: left;
	height: 80px;
	margin: 10px;
	margin-right: 15px;
	border-radius: 2px;
}

.store .content .widget h2.title {
	font-size: 16px;
	overflow: hidden;
	line-height: 20px;
	margin: 8px 0 4px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: Open Sans, sans-serif;
}

.store .content .widget .desc {
	color: #666;
	font-size: 12px;
	overflow: hidden;
	max-height: 60px;
	line-height: 20px;
	padding-right: 10px;
	font-family: Open Sans, sans-serif;
}







/*---------------------------------------------
	/ Store Detail
	These need to be direct-descendant selectors so they don't interfere with widget previews
*/
.modal.store-detail {
	width: 490px;
	max-height: 700px;
}

.store-detail > .content {
	overflow: auto;
	padding: 25px 30px;
	background: #F8F8F8;
	height: calc(100% - 70px);
}

.store-detail > .content > section {
	margin-bottom: 25px;
}

.store-detail > .content > section > h3 {
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 15px;
	font-family: Roboto, sans-serif;
}

.store-detail > .content > section > h3 .legend {
	float: right;
	font-weight: 400;
}

.store-detail > .content > .installation .handle {
	font-size: 13px;
	background: #FFF;
	font-weight: 500;
	padding: 10px 25px;
	margin-right: 10px;
	border-radius: 2px;
	display: inline-block;
	text-transform: uppercase;
	font-family: Roboto, sans-serif;
	transition: all .15s ease-in-out;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12),
				0 1px 2px rgba(0, 0, 0, .2);
}

.store-detail > .content > .installation .handle:first-of-type {
	margin-left: 20px;
}

.store-detail > .content > .installation .handle:focus,
.store-detail > .content > .installation .handle:hover,
.store-detail > .content > .installation .handle:active {
	color: #FFF;
	cursor: move;
	background: #2196F3;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16),
				0 3px 6px rgba(0, 0, 0, .23);
}

.store-detail > .content > .installation .handle:focus,
.store-detail > .content > .installation .handle:active {
	background: #1E88E5;
}

.store-detail > .content > .description .desc {
	overflow: auto;
	max-height: 250px;
	margin-left: 15px;
	margin-right: 5px;
	padding-right: 15px;
}

.store-detail > .content > section.preview {
	padding-bottom: 10px;
}

.store-detail > .content > section.preview > .widget {
	width: 410px;
	font-size: 14px;
	overflow: hidden;
	background: #FFF;
	border-radius: 2px;
	font-family: Roboto, sans-serif;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12),
				0 1px 2px rgba(0, 0, 0, .2);
}

.store-detail > .content > section.preview > .widget.legacy {
	padding: 15px;
	font-family: Open Sans, sans-serif;
}

/* This doesn't have to use direct-desendant because widgets need to be tolerant of the handle and settings classes */
.store-detail .preview .widget .handle,
.store-detail .preview .widget .settings,
.store-detail .preview .widget .minimize,
.store-detail .preview .widget .maximize {
	pointer-events: none;
}

.store-detail > .content > section.preview > .widget.tiny {
	width: 210px;
}







/*---------------------------------------------
	/ Themes
*/
.modal.themes {
	top: 25px;
	left: 25px;
	right: 25px;
	bottom: 25px;
	cursor: default;
	max-width: 1400px;
	max-height: 700px;
}

.modal.themes .content > .title {
	z-index: 1;
	position: relative;
	transition: box-shadow 0s .25s;
	box-shadow: 0 4px 3px -2px rgba(0, 0, 0, 0.1);
}

.modal.themes .content.fadeout > .title {
	transition: box-shadow .2s 0s ease-in-out;
	box-shadow: 0 -2px 3px -2px rgba(0, 0, 0, 0.1);
}

.themes .btn {
	font-size: 14px;
	font-weight: 300;
	border-radius: 2px;
	font-family: Open Sans, sans-serif;
}

.themes .btn-primary {
	background: #5BA4E5;
}

.themes .btn-primary:hover {
	background: #2F8CDE;
}

.themes .btn-primary:active {
	box-shadow: rgba(0, 0, 0, .3) 0 1px 3px inset;
}

.themes .nav {
	left: 0;
	top: 70px;
	bottom: 0;
	width: 18%;
	z-index: 1;
	background: #FFF;
	position: absolute;
	overflow-x: hidden;
	border-top: 1px solid #EEE;
}

.themes .nav li {
	color: #428BCA;
	cursor: pointer;
	padding: 15px 20px;
	padding-left: 35px;
}

.themes .nav li:hover {
	background: #EEE;
}

.themes .nav li.active {
	color: #333;
	background: #FFF;
	margin-right: -1px;
	box-shadow: inset 0 -1px #EEE;
}

.themes .nav li:not(:first-child).active {
	box-shadow: inset 0 1px #EEE, inset 0 -1px #EEE;
}

.themes .nav li.create {
	left: 0;
	right: 0;
	bottom: 0;
	cursor: default;
	padding: 15px 20px;
	position: absolute;
	background: transparent!important;
}

.themes .nav li.create .btn {
	width: 100%;
	padding: 12px;
}

.themes .container {
	top: 70px;
	right: 0;
	bottom: 0;
	width: 82%;
	opacity: 1;
	display: flex;
	position: absolute;
	overflow-x: hidden;
	flex-flow: row wrap;
	padding: 8px 5px 8px 8px;
	align-content: flex-start;
	border-left: 1px solid #EEE;
	transition: opacity .25s ease-in-out;
}

.themes .container:after {
	display: none;
}

.themes .content.fadeout .container {
	opacity: 0;
}

.themes .container:before {
	left: 0;
	top: 1px; /* So the border still shows */
	right: 0;
	height: 4px;
	z-index: 99;
	content: "";
	display: block;
	background: #FFF;
	position: absolute;
}





/*---------------------------------------------
	/ Themes / Theme
*/
.themes .theme {
	flex: 1 20%;
	height: 125px;
	overflow: hidden;
	max-width: 222px;
	position: relative;
	margin: 0 3px 3px 0;
	background-size: 100% auto;
	box-shadow: 0 1px 1px -1px rgba(0, 0, 0, .3);
}

.themes .theme .push {
	padding-top: 56.25%;
	background-size: cover;
}

.themes .theme .push.lazy {
	background-color: #EEE;
	background-image: none!important;
}

.themes .theme .caption {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	padding: 10px;
	position: absolute;
	background: #F5F5F5;
	transition: opacity .2s ease-in-out;
}

.themes .theme:hover .caption {
	opacity: 1;
}

.themes .theme .caption h2 {
	font-size: 15px;
	margin-top: -2px; /* To fix for 18px => 20px line-height change */
	font-weight: 600;
	line-height: 20px;
	margin-right: -2px;
	font-family: Open Sans, sans-serif;
}

/* Custom themes can wrap since there's nothing below */
.themes .theme:not(.custom) .caption h2 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.themes .theme h2 span {
	color: #666;
	float: right;
	font-size: 15px;
	margin-top: -2px;
	font-weight: normal;
	font-family: Entypo;
}

.themes .theme h2 span:not(:first-child) {
	margin-right: 8px;
}

.themes .theme h2 span.pro {
	margin-top: 0;
	color: #FB8C00;
	padding: 0 3px;
	font-size: 11px;
	line-height: 14px;
	border-radius: 2px;
	text-transform: uppercase;
	border: 1px solid currentColor;
	font-family: Roboto, sans-serif;
}

.themes .theme .specs {
	font-size: 13px;
}

.themes .theme .caption h2 + .specs {
	margin-top: 10px;
}

.themes .theme .specs span:not(:first-child) {
	display: block;
	padding-top: 5px;
}

.themes .theme .btn {
	left: 0;
	bottom: 0;
	width: 50%;
	font-size: 14px;
	font-weight: 300;
	border-radius: 0;
	position: absolute;
	font-family: Open Sans, sans-serif;
}

.themes .theme .btn.preview {
	right: 0;
	left: 50%;
}

.themes .theme .btn.edit {
	bottom: 32px;
}

.themes .theme .btn.delete {
	right: 0;
	left: 50%;
	bottom: 32px;
}






/*---------------------------------------------
	/ Themes / Create
*/
.themes.create .content .title {
	box-shadow: none;
}

.themes.create form {
	width: 35%;
	float: left;
	overflow: auto;
	padding: 25px 40px;
	padding-right: 25px;
	height: calc(100% - 135px);
}

.themes.create select,
.themes.create input[type="text"] {
	width: 100%;
	border-radius: 2px;
}

.themes.create input.image {
	width: 56%;
}

.themes.create .upload {
	width: 40%;
	float: right;
	line-height: 35px;
	padding-left: 15px;
}

.themes.create .upload input {
	float: right;
	padding: 8px 0;
	width: calc(100% - 30px);

	-moz-appearance: none;
	-webkit-appearance: none;
}

.themes.create .upload input:after {
	display: block;
	text-align: center;
	content: "__MSG_themes_upload_image__";
}

.themes.create .upload input::-webkit-file-upload-button {
	display: none;
}

.themes.create .help {
	top: -8px;
	width: 2%;
	color: #777;
	float: right;
	cursor: help;
	margin-left: 8px;
	position: relative;
}

.themes.create .help:before {
	font-size: 14px;
}

.themes.create .content > .preview {
	float: right;
	margin: 25px 30px;
	position: relative;
	border-radius: 8px;
	width: calc(65% - 70px);
	border: 20px solid #555;
	height: calc(100% - 205px);

	/* Tab background defaults */
	background-size: cover;
	background-color: #EEE;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
}

.themes.create .content > .preview:before {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	position: absolute;
	background-size: 100%;
	background-repeat: no-repeat;
	background-image: url(../images/preview.png);
}

.themes.create .buttons {
	clear: both;
	text-align: right;
	padding: 10px 40px;
}

.themes.create .buttons .preview {
	margin-right: 25px;
}





/*---------------------------------------------
	/ Themes / Create / Locale Fixes
*/
.themes.create form:lang(ru) {
	width: 40%;
}

.themes.create .content > .preview:lang(ru) {
	margin: 25px;
	width: calc(60% - 50px);
}

.themes.create .image:lang(ru),
.themes.create .image:lang(cs),
.themes.create .image:lang(ja),
.themes.create .image:lang(tr) {
	width: 54%;
}

.themes.create .upload:lang(ru),
.themes.create .upload:lang(cs),
.themes.create .upload:lang(ja),
.themes.create .upload:lang(tr) {
	width: 42%;
	padding-left: 5px;
}

.themes.create .upload input:lang(cs),
.themes.create .upload input:lang(ja),
.themes.create .upload input:lang(tr) {
	width: calc(100% - 45px);
}







/*---------------------------------------------
	/ Asian font overrides

	These are at the end so no !important declarations are needed
*/
.menu:lang(zh),
.tooltip:lang(zh),
.getting-started .slide:lang(zh),
.toolbar .apps-toggle .apps:lang(zh),
.toolbar .search .suggestions div:lang(zh),
.store-detail > .content > section > h3:lang(zh),
.store-detail > .content > .installation .handle:lang(zh) {
	font-family: "微軟正黑體", "Microsoft JhengHei", Roboto;
}

.menu:lang(ja),
.tooltip:lang(ja),
.getting-started .slide:lang(ja),
.toolbar .apps-toggle .apps:lang(ja),
.toolbar .search .suggestions div:lang(ja),
.store-detail > .content > section > h3:lang(ja),
.store-detail > .content > .installation .handle:lang(ja) {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Roboto;
}


.btn:lang(zh),
.themes .btn:lang(zh),
.notification:lang(zh),
.modal > .title:lang(zh),
.voicebar .text:lang(zh),
.menu .tabs .add:lang(zh),
.themes .theme .btn:lang(zh),
.notification .title:lang(zh),
.toolbar .search input:lang(zh),
.settings .tab .header:lang(zh),
.themes .theme .caption h2:lang(zh),
.modal > .content > .title:lang(zh),
.store > .wrapper > .title:lang(zh),
.widget-settings .list .item:lang(zh),
.store .content .widget .desc:lang(zh),
.store .content .widget h2.title:lang(zh) {
	font-family: "微軟正黑體", "Microsoft JhengHei", Open Sans;
}


.btn:lang(ja),
.themes .btn:lang(ja),
.notification:lang(ja),
.modal > .title:lang(ja),
.voicebar .text:lang(ja),
.menu .tabs .add:lang(ja),
.themes .theme .btn:lang(ja),
.notification .title:lang(ja),
.toolbar .search input:lang(ja),
.settings .tab .header:lang(ja),
.themes .theme .caption h2:lang(ja),
.modal > .content > .title:lang(ja),
.store > .wrapper > .title:lang(ja),
.widget-settings .list .item:lang(ja),
.store .content .widget .desc:lang(ja),
.store .content .widget h2.title:lang(ja) {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Open Sans;
}





/*---------------------------------------------
	/ Plugins
*/
/***
	Spectrum Colorpicker v1.2.0
	https://github.com/bgrins/spectrum
	Author: Brian Grinstead
	License: MIT
	Modified by: Avi Kohn
***/
.sp-container { position:absolute; top:0; left:0; display:inline-block; z-index: 9999994; overflow: hidden; }
.sp-container.sp-flat { position: relative; }
.sp-top { position:relative; width: 100%; display:inline-block; }
.sp-top-inner { position:absolute; top:0; left:0; bottom:0; right:0; }
.sp-color { position: absolute; top:0; left:0; bottom:0; right:20%; }
.sp-hue { position: absolute; top:0; right:0; bottom:0; left: 84%; height: 100%; }
.sp-clear-enabled .sp-hue { top:33px; height: 77.5%; }
.sp-fill { padding-top: 80%; }
.sp-color:before, .sp-sat, .sp-val { position: absolute; top:0; left:0; right:0; bottom:0;}
.sp-color:before { content: ""; z-index: 1; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);}
.sp-alpha-enabled .sp-top { margin-bottom: 32px; }
.sp-alpha-enabled .sp-alpha { display: block; }
.sp-alpha-handle { position:absolute; top: -4px; bottom: -4px; width: 8px; left: 50%; cursor: pointer; border-radius: 2px; border: 2px solid #FEFEFE; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.sp-alpha { display: none; position: absolute; bottom: -20px; right: 0; left: 0; height: 10px; }
.sp-clear { display: none; }
.sp-clear.sp-clear-display { background-position: center; }
.sp-clear-enabled .sp-clear { display: block; position:absolute; top:0; right:0; bottom:0; left:84%; height: 28px; }
.sp-palette-disabled .sp-palette-container { display: none; }
.sp-initial-disabled .sp-initial { display: none; }
.sp-sat { background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0)); }
.sp-val { background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0)); }
.sp-hue { background: linear-gradient(to bottom, #F00 0%, #FF0 17%, #0F0 33%, #0FF 50%, #00F 67%, #F0F 83%, #F00 100%); }
.sp-hidden { display: none !important; }
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-dragger { border-radius: 5px; height: 5px; width: 5px; border: 1px solid #fff; background: #000; cursor: pointer; position:absolute; top:0; left: 0; }
.sp-slider { position: absolute; top:0; cursor:pointer; height: 8px; left: -3px; right: -3px; border-radius: 2px; border: 2px solid #FEFEFE; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.sp-container { background-color: #F5F5F5; padding: 0; border-radius: 2px; box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);}
.sp-container, .sp-container input, .sp-color, .sp-hue, .sp-clear { font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; box-sizing: border-box; }
.sp-color, .sp-hue, .sp-clear, .sp-alpha-inner, .sp-initial span { border-radius: 2px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);}
.sp-color { box-shadow: none; }
.sp-input-container { float: right; line-height: 16px; width: calc(100% - 25px); display: inline; margin-bottom: 4px; }
.sp-initial-disabled .sp-input-container { width: 100%; }
input.sp-input[type="text"] { outline: 0; font-size: 12px; border: 0!important; background: transparent; padding: 0 3px 1px!important; margin: 0; width: 100%; color: #222;border-radius: 0;border-bottom: 1px dotted #BBB!important;}
.sp-input.sp-validation-error { border: 1px solid red; background: #fdd; }
.sp-picker-container, .sp-palette-container { float:left; position: relative; padding: 8px; padding-bottom: 300px; margin-bottom: -290px; }
.sp-picker-container { width: 200px; }
.sp-initial { float: left; }
.sp-initial span { width: 20px; height: 20px; border:none; display:block; float:left; margin:0;}
.sp-initial .sp-thumb-el:first-child { display: none; }
.sp-initial .sp-clear-display { background-position: center; }
.sp-button-container { display: none; }
.sp-replacer { margin:0; overflow:hidden; cursor:pointer; display:inline-block; vertical-align: middle; box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);   border-radius: 2px; }
.sp-replacer:hover, .sp-replacer.sp-active { border-color: #BBB; color: #111; }
.sp-replacer.sp-disabled { cursor:default; border-color: silver; color: silver; }
.sp-dd { display: none; }
.sp-preview { position:relative; width: 75px; height: 30px; float:left; z-index: 0;}
.sp-palette { max-width: 220px; }
.sp-palette .sp-thumb-el { width:16px; height: 16px; margin:2px 1px; border: solid 1px #d0d0d0; }
.sp-container { padding-bottom:0; }
.sp-container button { font-size: 13px; padding: 5px 10px; }
.sp-cancel { font-size: 11px; color: #d93f3f !important; margin:0; padding:2px; margin-right: 5px; vertical-align: middle; text-decoration:none; }
.sp-cancel:hover { color: #d93f3f !important; text-decoration: underline; }
.sp-palette span:hover, .sp-palette span.sp-thumb-active { border-color: #000; }
.sp-preview, .sp-alpha, .sp-thumb-el { position:relative; background-image: url(); }
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner { display:block; position:absolute; top:0;left:0;bottom:0;right:0; }
.sp-palette .sp-thumb-inner { background-position: 50% 50%; background-repeat: no-repeat; }
.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner { background-image: url(); }